package com.ruoyi.base.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 账套列表对象 account_set
 * 
 * @author ruoyi
 * @date 2025-02-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AccountSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账套ID */
    @TableId(type = IdType.AUTO)
    private Long accountId;

    /** 账套名称 */
    @Excel(name = "账套名称")
    @NotBlank(message = "账套名称不能为空")
    private String accountName;

    /** 单位名称 */
    @NotBlank(message = "单位名称不能为空")
    private String companyName;

    /** 会计准则 */
    @Excel(name = "会计准则")
    @NotBlank(message = "会计准则不能为空")
    private String accountingStandards;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 税号 */
    private String taxNumber;

    /** 套账启用时间 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "套账启用时间", width = 30, dateFormat = "yyyy-MM")
    private Date startDate;

    /** 经营地址 */
    private String businessAddress;

    /** 联系人 */
    private String contactPerson;

    /** 联系电话 */
    private String contactPhone;

    /** 增值税种类 */
    @Excel(name = "增值税种类")
    private String vatType;

    /** 当前账套标识 */
    private Integer isCurrent;

    /** 行业ID */
    private Long industryId;


    /** 逻辑删除 */
    private Integer isDeleted;

    /** 版本号 */
    private Long version;


}
